package cn.wolfcode.luowowo.search.service.impl;

import cn.wolfcode.luowowo.search.repository.WendaTemplateRepository;
import cn.wolfcode.luowowo.search.service.IWendaTemplateService;
import cn.wolfcode.luowowo.search.template.WenDaTemplate;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import javax.naming.Name;
@Service
public class WenDaTemplateSearchServiceImpl implements IWendaTemplateService {
    @Autowired
    private WendaTemplateRepository repository;


    @Override
    public void saveOrUpdate(WenDaTemplate wenDaTemplate) {
        repository.save(wenDaTemplate);
    }
}
